home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
JCSM Shareware Collection 1996 September
/
JCSM Shareware Collection (JCS Distribution) (September 1996).ISO
/
install.bat
< prev
next >
Wrap
DOS Batch File
|
1995-10-29
|
770b
|
30 lines
@echo off
if '%1'=='' goto NoParm
if '%2'=='' goto NoParm
jcsmchk %1 %2
if ERRORLEVEL 1 goto NoParm
mkdir %1:\jcsd
copy jcsd.exe %1:\jcsd\*.*
copy jcsd.typ %1:\jcsd\*.*
copy jcsda.* %1:\jcsd\*.*
copy jcsdp.* %1:\jcsd\*.*
copy jcsminit.exe %1:\jcsd\*.*
copy readme.1st %1:\jcsd\*.*
copy jcsdloct.srt %1:\jcsd\*.*
copy unzip.exe %1:\jcsd\*.*
%1:
cd %1:\jcsd
jcsminit %2
erase jcsminit.exe
echo Type 'jcsd' to run.
goto end
:NoParm
echo Syntax: INSTALL X Y where ....
echo X is the hard drive where the JCSD subdirectory will
echo be created. (Note: not ':' after the letter)
echo Y is the drive letter of the CDROM drive
echo (Again, no ':')
echo TRY AGAIN...
:end